"use strict";

exports.main = async (event, context) => {
  const res = await uniCloud.httpclient.request(
    `http://101.33.213.248:37913/daily8am/${event.path}`,
    {
      method: event.method,
      data: event.params,
      contentType: "json",
      dataType: "text",
    }
  );
  return res;
};
